<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">
<head>
<title>QuickPoll</title>
</head>
<body>
	<h:form>
		<h2>#{game.question}</h2>
		<h:selectOneMenu value="#{game.vote}">
			<f:selectItem itemValue="yes"/>
			<f:selectItem itemValue="no"/>
		</h:selectOneMenu>
		<h:commandButton action="#{game.vote}" value="Submit" /> 
	</h:form>
</body>
</html>